<template>
<!-- :locale="language[locale]" -->
  <el-config-provider >
    <router-view></router-view>
  </el-config-provider>
</template>

<script setup>
import { ref } from "vue";
import zhCN from "ant-design-vue/es/locale/zh_CN";
import enUS from "ant-design-vue/es/locale/en_US";
import { useI18n } from "vue-i18n";
const language = ref({
  zhCN,
  enUS,
});
const { locale } = useI18n({});
</script>

